package com.ruoyi.iot.service;


import com.ruoyi.iot.dto.Sensor;

import java.util.List;

public interface SensorService {
    void upload(Sensor sensor);

    void delete(String id);

    List<Sensor> search(String mineId, String sensorType, Integer runningState);

    void update(Sensor sensor);

    List<Sensor> searchAll();

    String getNewSensorId();
}
